import { Group } from "three";
import { App } from "../../Engine";

/** 动效组件基类 */
export default class Effect extends Group {
    public displayOnTop: boolean = false;
    public app;

    constructor() {
        super();
        this.app = App.getInstance();
    }

    /** 在地图上显示该图层 */
    public show() {
        this.visible = true;
    }
    /** 隐藏图层 */
    public hide() {
        this.visible = false;
    }

    protected register() {
    }
}